package by.grsu.epam.service.entitiesservice;

import by.grsu.epam.domain.user.impl.Subscriber;
import by.grsu.epam.service.GenericService;
import by.grsu.epam.web.workentities.ChangePassword;


public interface SubscriberService extends GenericService<Subscriber, Long> {
	
	public Subscriber findByUsername(String username);
	
	public Long saveNewSubscriber(Subscriber subscriber);
	
	public Subscriber changeSubscriberInfo(Subscriber subscriber);
	
	public Subscriber changeSubscriberPass(String username, ChangePassword changePass);
}
